<!doctype html>

<html lang="zh-CN">

<head>
    <title>微用钱后台管理系统</title>
    <meta charset="utf-8" />
    <!-- <link rel="stylesheet" href="/public/js/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css"> -->
    <link rel="stylesheet" href="/public/js/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="/public/js/layui/layui/css/layui.css">
    <link rel="stylesheet" href="/public/css/main.css">
    <!-- <link rel="stylesheet" href="/public/js/bootstrap-datetimepicker-master/bootstrap_v3/bootstrap/css/bootstrap.min.css"> -->
    <script src="/public/js/layui/layui/layui.all.js"></script>
    <script src="/public/js/echarts.min.js"></script>
    <script src="/public/js/jquery.min.js"></script>
    <script src="/public/js/main.js"></script>
    <!-- <script src="/public/js/bootstrap-datetimepicker-master/bootstrap_v3/bootstrap/js/bootstrap.min.js"></script> -->
    <script src="/public/js/public.js"></script>
    <!-- 配置文件 -->
    <script type="text/javascript" charset="utf-8" src="/public/js/ueditor1_4_3_3-utf8-php/utf8-php/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" charset="utf-8" src="/public/js/ueditor1_4_3_3-utf8-php/utf8-php/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/public/js/ueditor1_4_3_3-utf8-php/utf8-php/lang/zh-cn/zh-cn.js"></script>
</head>

<body>
    <div class="home_page_box">
        <div class="top_nav">
            <div class="left-title left">微用钱管理系统</div>
            <div class="center-nav left" id="center-nav"></div>
            <div class="right-admin-name right"><i class="fa fa-user-o"></i>
                <!--管理员用户名 显示  右上角-->
                <span id="admin-name">{$name}</span>
                <i id="exit-login" class="fa fa-power-off cur-pointer"></i>
            </div>
        </div>
        <div class="top_page_status">
            <span class="left show_root">
                        <i class="fa fa-home" style="color:#2b2b2b"></i>
                        <span id="page-root"></span>
            </span>
            <i class="fa fa-arrows-alt cur-pointer right" id="full_screen_btn" title="点击全屏"></i>
        </div>
        <div class="page-container" id="full_screen" style="overflow:hidden;">
            <div id="page-container" class="left"></div>
        </div>
        <script type="text/javascript">
            (function() {
                var isLogin = $("#admin-name").text();
                if (isLogin == "") {
                    layer.open({
                        type: 0,
                        title: false,
                        area: ["400px", "100px"],
                        contnet: "您未登录，即将跳转至登陆页面！",
                        success: function() {
                            setTimeout(function() {
                                if (window.location.protocol == "http:") {
                                    window.location.href = "http://" + window.location.host + "/login/guard";
                                } else if (window.location.protocol == "https:") {
                                    window.location.href = "https://" + window.location.host + "/login/guard";
                                }
                            }, 3200);
                        }
                    })
                }
            }());
            $(".home_page_box").width($(document).width()).height($(document).height());
            $(".page-container").width($(document).width() - 30).height($(document).height() - 100);
        </script>
    </div>
    <script src="/public/js/portal.js"></script>
</body>

</html>